package iedcyt.acute.dataAccess.domain.acute1.complex;

import iedcyt.acute.dataAccess.domain.acute1.Center;
import iedcyt.acute.dataAccess.domain.acute1.Corp;

import java.util.ArrayList;
import java.util.List;


public class CorpWithCenters extends Corp {

	public CorpWithCenters(int _idCorp, String _Corp, boolean _Duplicated,
			boolean _Colaboration, boolean _Vague) {
		super(_idCorp, _Corp, _Duplicated, _Colaboration, _Vague);
		centers = new ArrayList<Center>();
	}

	public CorpWithCenters(Corp corp) {
		super(corp.get_idCorp(), corp.get_Corp(), corp.is_Duplicated(), corp.is_Colaboration(), corp.is_Vague());
		centers = new ArrayList<Center>();
	}
	
	public void setCenters(List<Center> centers) {
		this.centers = centers;
	}

	public List<Center> getCenters() {
		return centers;
	}

	private List<Center> centers;
	
}
